<?php 
include 'common.php';
?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>知趣论坛</title>
	<link href="<?=$website['public'];?>/web/base.css" rel="stylesheet" type="text/css"/>
	<link href="<?=$website['public'];?>/web/user.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="top">
	<div class="auto">
		<div class="nav">
			<img src="<?=$website['public'];?>/web/img/logo.png" style="width:30px; height:25px;margin:13px;" />
			<a href="../index.php">首页</a>
			<a href="/web/discus.php">讨论</a>
			<a href="/web/answers.php">问答</a>
			<a href="/web/node.php">节点</a>
			<a href="/web/tag.php">标签</a>
			<input type="text" name="name" placeholder="搜索" autocomplete="off" class="input">
			<div class="login right">
			<?php if ($_COOKIE['name']) { ?>
			<a href="/web/published.php" class="login_a">发表</a>
			<?php echo ($_COOKIE['name']); ?>
			<a href="/web/logout.php?logout=1">退出登录</a>
			<?php
			} else { ?>
			<a href="/web/login.php">登录</a>
			<?php
			}
			 ?></div>
		</div>
	</div>
</div>
<div class="main auto fn-clear">
	<div style="width:1200px; ">
		<div class="bj_l left">
			<div class="one_panel">
				<div class="one_list">
					<div class="user_name">Mr L</div>
						<p>
						<img src="<?=$website['public'];?>/web/img/5.png" height="80" width="80">
						<p>
						<p>注册于几月前<p>
						<p>市场/市场拓展/公关<p>	
						<p>wwwwwwwwww<p>
						<p>349865361@qq.com<p>
				</div>
				<div class="two_list">
					<ul>
						<li><a href="/web/user.php">Ta的社区主页</a></li>
						<li><a href="/web/topic.php">Ta发布的主题</a> </li>
						<li><a href="/web/reply.php">Ta发表的回复</a></li>
					</ul>
				</div>
			</div>
		</div>
	<div class="bj_r right">
		<div class="two_panel">
			<div class="topic">最近的主题</div>
				<ul>
					<li><a href="">DuxShop b2c正式版 v1.0.0发布</a>
						<span>程序发布</span>
						<span>·</span>
						<span>6回复</span>
						<span>·</span>
						<span>7月前</span>
					</li>
					<li><a href="">DuxShop b2c正式版 v1.0.0发布</a>
						<span>程序发布</span>
						<span>·</span>
						<span>6回复</span>
						<span>·</span>
						<span>7月前</span>
					</li>
				</ul>
		</div>
		<div class="three_panel">
			<div class="pinglun">最近的评论</div>
			<ul>
				<li><a href="">拓展字段如何在列表页面调用?</a>
					<span>回复于3月前</span>
					<div class="requer_nr">{print_r($list)} 放到循环内看看有没有这个变量</div>
				</li>
				<li><a href="">DuxShop b2c正式版 v1.0.0发布</a>
					<span>回复于3月前</span>
					<div class="requer_nr">环境需求: php5.6+ mysql5.5+ 只支持根目录 放入伪静态规则</div>
					<div class="shuju">
					Apache伪静态规则
					Options +FollowSymlinks -Multiviews
					RewriteEngine on
					RewriteCond %{REQUEST_FILENAME} !-d
					RewriteCond %{REQUEST_FILENAME} !-f
					RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
					</div>
					<div class="shuju">
					Apache伪静态规则
					Options +FollowSymlinks -Multiviews
					RewriteEngine on
					RewriteCond %{REQUEST_FILENAME} !-d
					RewriteCond %{REQUEST_FILENAME} !-f
					RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
					</div>
				</li>
			</ul>
		</div>	
	</div>
	</div>	
</div>
<div class="bottom">© 2016 DuxPHP, Inc. Licensed under 0.0182s</div>		
</body>	
</html>